package cn.edu.gdut.deepcode.service;

import cn.edu.gdut.deepcode.domain.dto.UserDTO;
import cn.edu.gdut.deepcode.domain.po.Result;
import cn.edu.gdut.deepcode.domain.po.User;
import cn.edu.gdut.deepcode.domain.vo.UserVO;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @Author: 暮倦
 * @Since: 2025-04-08  21:04
 * @Version: 1.0.0
 */
public interface IUserService extends IService<User> {

    Result<UserVO> login(UserDTO userDTO, HttpServletResponse response);

    Result<?> register(UserDTO userDTO);
}
